package ooday04;

public class AnonInterClassDemo {
    public static void main(String[] args) {

        Aoo a=new Aoo() {
            @Override
            void swim() {

            }
        };
        a.swim();
    }
}

abstract class Aoo{
    abstract void swim();
}